<{:W('Bizhome/header',array($biz_item_num,$user))}>
<style type="text/css">
.S_bg1 {
background-color: #f2f2f5;
}
</style>
  <div class="right_box">
    <div class="content content_hastab">
      <div class="standard_tab cf">
           <{:W('Bizhome/com_header',array($competition_id,$com_item_num))}>
      </div>
      <div class="blank20"></div>
      <in name="competition.com_model_type" value="2,3">
        <a bpfilter="page" class="<in name="select_item" value="0">S_bg1</in>" href="<{:U('Competition/create_competition_clash_result',array('competition_id'=>$competition_id,'select_item'=>0))}>">1</a>
        <a bpfilter="page" class="<in name="select_item" value="1">S_bg1</in>" href="<{:U('Competition/create_competition_clash_result',array('competition_id'=>$competition_id,'select_item'=>1))}>">2</a>
        <a bpfilter="page" class="<in name="select_item" value="2">S_bg1</in>" href="<{:U('Competition/create_competition_clash_result',array('competition_id'=>$competition_id,'select_item'=>2))}>">3</a>
        <div class="blank20"></div>
      </in>
      <div class="verify_content">
          <{:W('Competitionregi/load_competition_result',array($competition_id,$mod_item))}>
          <if condition="$unit gt 4 ">
             <div class="blank20"></div>
             <div class="blank20"></div>
            <{:W('Competitionregi/load_competition_secondstep_result',array($competition_id,$mod_item))}>             
          </if>
      </div>
      <button type="button" onclick="jump_to_modify()">修改</button>
      <in name="com_record" value="0"><button type="button" onclick="jump_to_count_one()">统计并进行第二阶段（第一轮）比赛</button></in>
      <in name="com_record" value="1">
         <notin name="group_num" value="3">
           <button type="button" onclick="jump_to_count_two()">统计并进行第二阶段（第二轮）比赛</button>
         </notin>
      </in>
      <in name="com_record" value="2">
        <in name="group_num" value="4,8">
          <button type="button" onclick="jump_to_count_three()">统计并进行第二阶段（第二轮）比赛</button>
        </in>
      </in>
      
      
      
    </div>
  </div>  
</div>
<script type="text/javascript">
  function jump_to_modify()
    {
       window.location.href="<{:U('Competition/modify_competition_clash_result',array('competition_id'=> $competition_id,'select_item'=> $select_item,'cur_item' => $cur_item ))}>";
    }
  function jump_to_count_one()
  {
     window.location.href="<{:U('Competition/score_count_to_second',array('competition_id'=> $competition_id,'select_item'=> $select_item, 'cur_item' => $cur_item ))}>";
  }
  function jump_to_count_two()
  {
     window.location.href="<{:U('Competition/score_count_to_second_two',array('competition_id'=> $competition_id,'select_item'=> $select_item, 'cur_item' => $cur_item ))}>";
  }
  function jump_to_count_three()
  {
     window.location.href="<{:U('Competition/score_count_to_second_three',array('competition_id'=> $competition_id,'select_item'=> $select_item, 'cur_item' => $cur_item ))}>";
  }
</script>
<div class="blank20"></div>
<{:W('Bizhome/footer')}>
